package com.ly.hotel.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by SHUBEN on 2018/4/3.
 */

public class WeatherCity {
    private String name;
    private List<WeatherCounty> weatherCounties = new ArrayList<>();
    public WeatherCity(String name){
        this.name = name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setWeatherCounties(WeatherCounty weatherCounty) {
        weatherCounties.add(weatherCounty);
    }

    public List<WeatherCounty> getWeatherCounties() {
        return weatherCounties;
    }

    public String getName() {
        return name;
    }
}
